#define _CRT_SECURE_NO_WARNINGS 1



#include<stdio.h>

struct stu
{
	char name[20];
	int age;
	char phone[12];
	char sex[6];
};

int main()
{
	struct stu s = { "zhangsan",18,"13139876543","nv" };
	printf("%s %d %s %s\n", s.name, s.age, s.phone, s.sex);


	return 0;
}




//#include<stdio.h>
//void print(struct stu* ps)
//{
//
//	printf("%s %d %s %s\n", ps->name, ps->age, ps->phone, ps->sex);
//
//}
//
//
//int main()
//{
//	struct stu ps = { "zhangsan",18,"13139876543","nv" };
//
//	return 0;
//}










































